﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iLangl.Model;
using System.Data;

namespace iLangl.LanguageWire.DAL.iLanglDAL
{
	public interface ICompanyDAL
	{
		Company ReadCompany(string companyId);
		BillingInfo ReadBillingInfo(string billingId);

		void CreateCompany(Company company, IDbTransaction transaction);
		void UpdateCompany(Company company, IDbTransaction transaction);
		

		void UpdateCompanyReference(string ilanglCompanyId, int LWcompanyId, IDbTransaction transaction);
		void UpdateBillingInfoReference(string billingInfoId, int invoiceAccountId, IDbTransaction transaction);
	}
}
